From: Alessandro Bono Date: Fri, 20 Feb 2026 21:42:03 +0000 (+0100) Subject: objectManager: Remove unused function X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~26^2~1^2~42 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=98241cd863fc34fd7184833d6100ae05f0971754;p=gnome-shell.git objectManager: Remove unused function Introduced with 4b450bab1164b9b1225702238e539201974a68b6, this function has never been used. Furthermore it is wrong because objectPaths is not indexed. Just drop it. Part-of: --- diff --git a/js/misc/objectManager.js b/js/misc/objectManager.js index a244f9ea4..0e003029d 100644 --- a/js/misc/objectManager.js +++ b/js/misc/objectManager.js @@ -238,22 +238,4 @@ export class ObjectManager extends Signals.EventEmitter { return proxyList; } - - getAllProxies() { - const proxies = []; - - const objectPaths = Object.keys(this._objects); - for (let i = 0; i < objectPaths.length; i++) { - const object = this._objects[objectPaths]; - - const interfaceNames = Object.keys(object); - for (let j = 0; j < interfaceNames.length; j++) { - const interfaceName = interfaceNames[j]; - if (object[interfaceName]) - proxies.push(object(interfaceName)); - } - } - - return proxies; - } }